home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 75 / XENIATGM75.iso / Shareware / X-Setup 5.0 / _SETUP.1 / XQ IE Window Title.xpl < prev    next >
Text File  |  1999-05-22  |  1KB  |  54 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 3.1"
  2. "TYPE"="1"
  3. "COUNT"="1"
  4. "UIPATH"="Internet\Internet Explorer\Appearance"
  5. "NAME"="Window Title"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Title"
  8. "DESCRIPTION 1"="You can change the title of the Internet Explorer window here."
  9. "DESCRIPTION 2"="To have to original title again, clear the field and press "Apply"."
  10. "AUTHOR"="Xteq Systems"
  11. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  12. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
  13. "COMMENT 2"="Version 1.1"
  14.  
  15.  
  16.  
  17. Sub Plugin_Initialize 
  18.  if RegPathExists("HKLM\Software\Microsoft\Internet Explorer") then
  19.   s=RegReadValue("HKLM\Software\Microsoft\Internet Explorer\Main\Window Title")
  20.   SetUIElement 1,s
  21.  else
  22.   Disable
  23.  end if
  24. End Sub
  25.  
  26.  
  27. Sub Plugin_CheckData(ElementIndex)
  28. End Sub
  29.  
  30.  
  31.  
  32. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  33.  s=GetUIElement(1)
  34.  
  35.  if len(s)=0 then
  36.  
  37.   'If values exists, delete it
  38.   s=RegReadValue("HKLM\Software\Microsoft\Internet Explorer\Main\Window Title")
  39.   if IsEmpty(s)=false then
  40.    Call RegDeleteValue("HKLM\Software\Microsoft\Internet Explorer\Main\Window Title")
  41.   end if
  42.  
  43.  else
  44.   Call RegWriteValue("HKLM\Software\Microsoft\Internet Explorer\Main\Window Title",s,1)
  45.  end if
  46. End Sub
  47.  
  48.  
  49. Sub Plugin_Terminate 
  50. End Sub
  51.  
  52.  
  53.  
  54.